using System;
using System.Collections.Generic;
using System.Text;

namespace SMS.Common.Entities
{
    public class ExecuteTaskResult
    {
        private string taskName;
        public string TaskName
        {
            get { return taskName; }
        }

        private DateTime beginDate;
        public DateTime BeginDate
        {
            get { return beginDate; }
        }
        private DateTime endDate;
        public DateTime EndDate
        {
            get { return endDate; }
        }
        private Double consumedTime;
        public Double ConsumedTime
        {
            get { return consumedTime; }
        }

        private int size;
        public int Size
        {
            get { return size; }
        }

        private string message;
        public string Message
        {
            get { return message; }
        }
        public ExecuteTaskResult() { }

        public ExecuteTaskResult(string taskName, DateTime beginDate,DateTime endDate, Double consumedTime, int size,string message)
        {
            this.beginDate = beginDate;
            this.endDate = endDate;
            this.taskName = taskName;
            this.consumedTime = consumedTime;
            this.size = size;
            this.message = message;
        }

    }
}
